import React from 'react';
import {ReactDOM} from 'react-dom';

import { createRoot } from 'react-dom/client';
import './util/http'
import App from './App';

// ReactDOM.render(
//      // 关闭严格模式
//   <React.StrictMode>   
//     <App />
//    </React.StrictMode>,
  
//   document.getElementById('root')
// );
const icontainer=document.getElementById('root')
const root = createRoot(icontainer) 
root.render(<App/>)